package com.jkl.entity;

import com.jkl.pojo.Account;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class RCSAgree{
    private String friendId;
    public String userName;
    public String noteName;
    public String sign;
    public Long alterTime;
    private Long buildTime;
    public RCSAgree(CSAgree agree, Account account){
        this.friendId=agree.getFriendId();
        this.userName= account.getUserName();
        this.noteName= agree.getNoteName();
        this.sign=account.getSign();
        this.alterTime= account.getAlterTime();
        this.buildTime= agree.getBuildTime();
    }
}
